package com.hxzy.shop.order.dto.resp;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author rlj
 * @Date 2021/8/16 18:16
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ReconciliationAdminResp implements Serializable {
    private static final long serialVersionUID = 8047212765860041568L;

    @ApiModelProperty("门店名称")
    @ExcelProperty(value = "门店名称", index = 0)
    private String storeName;

    @ApiModelProperty("销售金额")
    @ExcelProperty(value = "销售金额", index = 1)
    private BigDecimal payAmount;

    @ApiModelProperty("退款金额")
    @ExcelProperty(value = "退款金额", index = 2)
    private BigDecimal refuseAmount;

    @ApiModelProperty("净收入")
    @ExcelProperty(value = "净收入", index = 3)
    private BigDecimal profit;

    @ExcelIgnore
    @ApiModelProperty("是否是合计 true")
    private Boolean hasTotal;
}
